package com.b.dao;

import com.b.domain.Dynamic;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DynamicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Dynamic record);

    int insertSelective(Dynamic record);

    Dynamic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dynamic record);

    int updateByPrimaryKey(Dynamic record);

    @Select("select * from dynamic")
    List<Dynamic> getAll();
}